From: Jonathan Lebon Date: Fri, 28 Sep 2018 18:15:22 +0000 (-0400) Subject: boot: Add Documentation= lines to services X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~19^2~19 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9161eb8c326442cd2d9a79c14ce8dd09733ed023;p=ostree.git boot: Add Documentation= lines to services It's a neat way to point folks to the documentation (of course, better would be to have man pages for each of those services). Also consistently use Title Case everywhere. Closes: #1750 Approved by: cgwalters --- diff --git a/src/boot/ostree-finalize-staged.service b/src/boot/ostree-finalize-staged.service index bc24a612..2ae64918 100644 --- a/src/boot/ostree-finalize-staged.service +++ b/src/boot/ostree-finalize-staged.service @@ -19,6 +19,7 @@ # https://lists.freedesktop.org/archives/systemd-devel/2018-March/040557.html [Unit] Description=OSTree Finalize Staged Deployment +Documentation=man:ostree(1) ConditionPathExists=/run/ostree-booted DefaultDependencies=no diff --git a/src/boot/ostree-prepare-root.service b/src/boot/ostree-prepare-root.service index 52cf8863..5467bcfd 100644 --- a/src/boot/ostree-prepare-root.service +++ b/src/boot/ostree-prepare-root.service @@ -17,6 +17,7 @@ [Unit] Description=OSTree Prepare OS/ +Documentation=man:ostree(1) DefaultDependencies=no ConditionKernelCommandLine=ostree ConditionPathExists=/etc/initrd-release diff --git a/src/boot/ostree-remount.service b/src/boot/ostree-remount.service index 47e1387a..b98110c2 100644 --- a/src/boot/ostree-remount.service +++ b/src/boot/ostree-remount.service @@ -16,7 +16,8 @@ # Boston, MA 02111-1307, USA. [Unit] -Description=OSTree Remount OS/ bind mounts +Description=OSTree Remount OS/ Bind Mounts +Documentation=man:ostree(1) DefaultDependencies=no ConditionKernelCommandLine=ostree OnFailure=emergency.target